#include "cell_pwm.h"
#include "cell.h"
 #define mcu 2

#if HT_NOW_CHAH == 0
const cell_pwm_t cell_1_pwm_param_u = {
    .pin1_pwm = 6850,
    .pin2_pwm = 6600,
    .pin3_pwm = 6200,
    .pin4_pwm = 7480,
    .pin5_pwm = 6680,
    .pin6_pwm = 6200,
};
const cell_pwm_t cell_1_pwm_param_d = {
    .pin1_pwm = 6700,
    .pin2_pwm = 6400,
    .pin3_pwm = 6100,
    .pin4_pwm = 7000,
    .pin5_pwm = 6400,
    .pin6_pwm = 6000,
};

const cell_pwm_t cell_2_pwm_param_u = {
    .pin1_pwm = 6850,
    .pin2_pwm = 7100,
    .pin3_pwm = 7300,
    .pin4_pwm = 6380,
    .pin5_pwm = 6800,
    .pin6_pwm = 7050,
};
const cell_pwm_t cell_2_pwm_param_d = {
    .pin1_pwm = 6700,
    .pin2_pwm = 6800,
    .pin3_pwm = 6800,
    .pin4_pwm = 6200,
    .pin5_pwm = 6680,
    .pin6_pwm = 6900,
};


#elif HT_NOW_CHAH ==  1

const cell_pwm_t cell_1_pwm_param_u = {
    .pin1_pwm = 7100,
    .pin2_pwm = 7140,
    .pin3_pwm = 7120,
    .pin4_pwm = 7500,
    .pin5_pwm = 7300,
    .pin6_pwm = 7200,
};
const cell_pwm_t cell_1_pwm_param_d = {
    .pin1_pwm = 7000,
    .pin2_pwm = 7000,
    .pin3_pwm = 7000,
    .pin4_pwm = 7000,
    .pin5_pwm = 7000,
    .pin6_pwm = 7000,
};

const cell_pwm_t cell_2_pwm_param_u = {
    .pin1_pwm = 7200,
    .pin2_pwm = 7300,
    .pin3_pwm = 7600,
    .pin4_pwm = 7100,
    .pin5_pwm = 7100,
    .pin6_pwm = 7180,
};
const cell_pwm_t cell_2_pwm_param_d = {
    .pin1_pwm = 7000,
    .pin2_pwm = 7000,
    .pin3_pwm = 7000,
    .pin4_pwm = 7000,
    .pin5_pwm = 7000,
    .pin6_pwm = 7000,
};



#elif HT_NOW_CHAH ==  2

const cell_pwm_t cell_1_pwm_param_u = {
    .pin1_pwm = 7200,
    .pin2_pwm = 7150,
    .pin3_pwm = 7150,
    .pin4_pwm = 7700,
    .pin5_pwm = 7420,
    .pin6_pwm = 7340,
};
const cell_pwm_t cell_1_pwm_param_d = {
    .pin1_pwm = 7000,
    .pin2_pwm = 7000,
    .pin3_pwm = 7000,
    .pin4_pwm = 7000,
    .pin5_pwm = 7000,
    .pin6_pwm = 7000,
};

const cell_pwm_t cell_2_pwm_param_u = {
    .pin1_pwm = 7180,
    .pin2_pwm = 7400,
    .pin3_pwm = 7550,
    .pin4_pwm = 7150,
    .pin5_pwm = 7200,
    .pin6_pwm = 7150,
};
const cell_pwm_t cell_2_pwm_param_d = {
    .pin1_pwm = 7000,
    .pin2_pwm = 7000,
    .pin3_pwm = 7000,
    .pin4_pwm = 7000,
    .pin5_pwm = 7000,
    .pin6_pwm = 7000,
};


#endif
